import request from "@/utils/request.js"

export const addHealthDevice = (data) => {
	return request({
			url: '/healthDevice/addHealthDevice',
			method: 'post',
			data
	})
}
export const updateCarInfo = (data) => {
	return request({
			url: '/car/updateCarInfo',
			method: 'put',
			data
	})
}

export const getCarList = (data) => {
	return request({
			url: '/healthDevice/getHealthDeviceList',
			method: 'get',
			data
	})
}

export const getHealthDataList = (data) => {
	return request({
			url: '/healthData/getHealthDataList',
			method: 'get',
			data
	})
}